package com.yungu.swift.common.model.enums;

/**
 * @author : cuixiuyin
 * @date : 2019/6/13
 */
public enum CommonErrorEnum {

    /**
     * Common 模块错误码信息返回
     */
    TAG_REPEAT(7000, "已有同名标签，不允许创建"),
    IOS_VERSION_ADD_ERROR(7001, "已有相同状态的版本记录，新增失败"),
    IOS_VERSION_UPDATE_ERROR(7002, "已有相同状态的版本记录，更新失败"),
    ;

    private Integer code;
    private String msg;

    CommonErrorEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
